package com.kplan.admin.action;

import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.kplan.admin.service.AdminService;
import com.kplan.join.model.MemberDto;

public class GetMemberAction {
	public String action(HttpServletRequest request, HttpServletResponse response) {
		String[] keyword = {request.getParameter("memw"), request.getParameter("memword")};
		List<MemberDto> list = AdminService.getInstance().findMember(keyword);
		request.setAttribute("list", list);
		return "/adminpage.jsp";
	}
}
